package cn.scut.openfeign.client;

import cn.scut.openfeign.utils.Model;
import com.alibaba.fastjson.JSONObject;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "commentservice")
public interface CommentClient {
    @GetMapping("/comment/getComment")
    Model apiGetComments(@RequestBody JSONObject jsonObject);
}
